package ch.fhnw.qualiscan.core.db.pojos;

import java.io.Serializable;
import java.util.Date;

/**
 * This pojo holds the information about best practices of the user of a domain. It is used by hibernate to get data out of the database.
 * @author Kevin Mettenberger
 *
 */

@SuppressWarnings("serial")
public class BestPractice implements Serializable{
	
	private int id;
	private User user;
	private Domain domain;
	private Survey survey;
	private String bestpractice;
	private Date editdate;
	private int publicpost;
	private String title;
	private SurveyUserRole sur;
	
	
	public BestPractice() {
		
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public User getUser() {
		return user;
	}
	
	public void setUser(User user) {
		this.user = user;
	}

	public Domain getDomain() {
		return domain;
	}

	public void setDomain(Domain domain) {
		this.domain = domain;
	}

	public Survey getSurvey() {
		return survey;
	}

	public void setSurvey(Survey survey) {
		this.survey = survey;
	}

	public String getBestpractice() {
		return bestpractice;
	}

	public void setBestpractice(String bestpractice) {
		this.bestpractice = bestpractice;
	}

	public Date getEditdate() {
		return editdate;
	}

	public void setEditdate(Date editdate) {
		this.editdate = editdate;
	}

	public int getPublicpost() {
		return publicpost;
	}

	public void setPublicpost(int publicpost) {
		this.publicpost = publicpost;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public SurveyUserRole getSur() {
		return sur;
	}

	public void setSur(SurveyUserRole sur) {
		this.sur = sur;
	}
	
	
	

}
